import request from '@/utils/request';

import settings from '../../../config/defaultSettings';

export async function getOneIdAccessToken(params: any) {
  return request(`${settings.prefixUrl}/auth/oneid/getOneIdAccessToken`, {
    method: 'POST',
    data: params,
  });
}

export async function getOneIdAccessUserInfo(params: any) {
  return request(`${settings.prefixUrl}/auth/oneid/getOneIdAccessUserInfo`, {
    method: 'POST',
    data: params,
  });
}
